package robotleMvc.ui.uiContainers
{
	import com.ui.manager.GToolTipManager;
	import com.ui.manager.UIManager;
	
	import flash.display.Sprite;

	/**
	 * @author Halley
	 */
	public class UiContainer extends Sprite {
		public var tipLevelContainer : TipLevelContainer;
		public var windowsLevel : WindowsLevel;


		public function UiContainer() {
			mouseEnabled = false;
			addAllLevel()
		}

		public function addAllLevel() : void {
			tipLevelContainer = new TipLevelContainer();
			tipLevelContainer.name = "UiContainer";

			windowsLevel = new WindowsLevel();
			windowsLevel.mouseEnabled = false;
			windowsLevel.name = "UiContainer";
		
			UIManager.setUI(tipLevelContainer);
			UIManager.setRoot( windowsLevel);
			GToolTipManager.tipContainer = tipLevelContainer;

			addChild(windowsLevel);
			addChild(tipLevelContainer);

			
		}
	
	}
}
